package com.woniuxy.tfss.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 骑手实体类
 **/

@Data
public class Rider {

  private Integer id;
  private String phoneNum;
  private String identity;//骑手的身份证号
  private String account;
  private String password;
  private Double credit;//骑手的信誉分
  private BigDecimal profit;//骑手的总收益
  private String workStatus;//骑手的工作状态
  private String status;//骑手的状态
  @TableField(exist = false)
  private String rpassword;

  public static final String WAIT="1";//工作状态,待接单
  public static final String WORK="2";//工作状态,已接单
  public static final String OFFLINE="3";//工作状态,离线


  public static final String NORMAL="1";//骑手状态,正常
  public static final String LOCK="2";//骑手状态,冻结

}
